﻿// ----------------------------------------------------------------------------------
// <copyright file="StaticSession.cs" company="Christopher Hines">
// Copyright (c) 2012 All Right Reserved
// </copyright>
// <author>Chris Hines</author>
// <date>2012-02-15</date>
// <summary>
//     Provides a static non-web session object
// </summary>
// ----------------------------------------------------------------------------------

namespace Copperfield.Sdk
{
    using System.Collections.Generic;

    /// <summary>
    /// Provides a static non-web session object
    /// </summary>
    internal static class StaticSession
    {
        /// <summary>
        /// Gets the cache
        /// </summary>
        /// <value>
        /// The cache
        /// </value>
        private static readonly Dictionary<string, object> cache = new Dictionary<string, object>();

        /// <summary>
        /// Gets the cache object
        /// </summary>
        /// <returns>The cache object</returns>
        public static Dictionary<string, object> Cache()
        {
            return cache;
        }
    }
}
